package com.danskin.wechat.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.danskin.wechat.entity.WxTagInfo;
import com.danskin.wechat.entity.example.WxTagInfoExample;
import com.danskin.wechat.util.Page;

public interface WxTagInfoDao {
    int countByExample(WxTagInfoExample example);

    int deleteByExample(WxTagInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxTagInfo record);

    int insertSelective(WxTagInfo record);

    List<WxTagInfo> selectByExample(WxTagInfoExample example);

    WxTagInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxTagInfo record, @Param("example") WxTagInfoExample example);

    int updateByExample(@Param("record") WxTagInfo record, @Param("example") WxTagInfoExample example);

    int updateByPrimaryKeySelective(WxTagInfo record);

    int updateByPrimaryKey(WxTagInfo record);
    
    List<WxTagInfo> listPageWxTagInfo(Page page);
    
    List<WxTagInfo> selectWxTagInfoByFansIdExclude(Map<String,Object> map);
    
    List<WxTagInfo> selectUsedWxTagInfoByFansId(Map<String,Object> map);
}